package com.asset.dispoal.poi.documentation.domain.dto;

import lombok.Data;

import java.util.Date;

@Data
public class AppointCaseTemplateDTO {
    /// appointDTO
    private String batchName;
    private String plaintiffName;
    private String plaintiffAddress;
    private String plaintiffCreditCode;
    private String plaintiffContactName;
    private String plaintiffContactIdCard;
    private String plaintiffContactMobile;

    public void addAppointDTO(AppointDTO appointDTO) {
        this.batchName = appointDTO.getBatchName();
        this.plaintiffName = appointDTO.getPlaintiffName();
        this.plaintiffAddress = appointDTO.getPlaintiffAddress();
        this.plaintiffCreditCode = appointDTO.getPlaintiffCreditCode();
        this.plaintiffContactName = appointDTO.getPlaintiffContactName();
        this.plaintiffContactIdCard = appointDTO.getPlaintiffContactIdCard();
        this.plaintiffContactMobile = appointDTO.getPlaintiffContactMobile();
    }

    //appointCaseDTO
    private String borrowerName;
    private String borrowerIdCard;
    private String borrowerTel;
    private String litigationNumber;
    private String principal;
    private String caseAcceptAmount;
    private Date judgmentTime;
    private String brief;
    private String judge;

    public void addAppointCaseDTO(AppointCaseDTO appointCaseDTO) {
        this.borrowerName = appointCaseDTO.getBorrowerName();
        this.borrowerIdCard = appointCaseDTO.getBorrowerIdCard();
        this.borrowerTel = appointCaseDTO.getBorrowerTel();
        this.litigationNumber = appointCaseDTO.getLitigationNumber();
        this.principal = appointCaseDTO.getPrincipal();
        this.caseAcceptAmount = appointCaseDTO.getCaseAcceptAmount();
        this.judgmentTime = appointCaseDTO.getJudgmentTime();
        this.brief = appointCaseDTO.getBrief();
        this.judge = appointCaseDTO.getJudge();
    }

    //extract
    private Date today;
    private String sex;
    private Date birthday;
}
